registerTests([
function OfType_Test_0()
{
	var myArray = [1, "chicken", 2, 3];
	var result = myArray.OfType("string");
	
	Assert.areEqual(result.length, 1);
	Assert.areEqual(result[0], "chicken");
},
function OfType_Test_1()
{
	var myArray = [1, 2, null, 3];
	var result = myArray.OfType(typeof 3);

	Assert.areEqual(result.length, 3);
	for(var i = 0; i < 3; i++)
		Assert.areEqual(result[i], i + 1);
}
]);